package cn.xxstudy.visitshop.ui.activity.main.fragment.home.viewmodel

import androidx.lifecycle.ViewModel
import androidx.lifecycle.ViewModelProvider

/**
 * @author ：DELL on 2021/3/24 .
 * @packages ：cn.xxstudy.visitshop.ui.activity.main.fragment.home.viewmodel .
 * TODO:一句话描述
 */
class HomeViewModelFactory : ViewModelProvider.Factory {
    override fun <HomeViewModel : ViewModel?> create(modelClass: Class<HomeViewModel>): HomeViewModel {
        return HomeViewModel(HomeRepository()) as HomeViewModel
    }

}